{% extends "cms/cms_base.html" %}
{% block title %}
    修改密码
{% endblock %}
{% block content %}
    <form id="form" action="" class="form-horizontal">
        <input type="hidden" id="csrf_token" name="csrf_token" value="{{ csrf_token() }}">
        <div class="form-group">
            <label for="" class="col-md-2 control-label">旧密码：</label>
            <div class="col-md-4">
                <input id="oldPassword" name="oldPassword" type="password" class="form-control">
            </div>
        </div>
        <div class="form-group">
            <label for="" class="col-md-2 control-label">新密码：</label>
            <div class="col-md-4">
                <input id="newPassword" name="newPassword" type="password" class="form-control">
            </div>
        </div>
        <div class="form-group">
            <label for="" class="col-md-2 control-label">确认密码：</label>
            <div class="col-md-4">
                <input id="confirmPassword" name="confirmPassword" type="password" class="form-control">
            </div>
        </div>
        <div class="form-group">
            <div class="col-md-4 col-md-offset-2">
                <button type="submit" class="btn btn-primary">重置</button>
            </div>
        </div>
    </form>
{% endblock %}
{% block script %}
    <script src="{{ url_for('static', filename='public/js/formData.js') }}"></script>
    <script src="{{ url_for('static', filename='cms/js/modifyPassword.js') }}"></script>
{% endblock %}